<%@ page language="java" contentType="text/html; charset=US-ASCII"
    pageEncoding="US-ASCII"  
    import="java.util.Date, java.text.DateFormat,java.text.SimpleDateFormat;"
    %>
    
    
    <%@ page  %>


<%
 String hostName=request.getServerName();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>SOY JB Y ESTOY VIVO</title>
</head>
<body>

<h1>SOY JB Y TOY VIVO</h1>
Host Name of server <%=hostName%>
<br/>
fecha <%= new java.util.Date() %>

<br>
<%
 // This will return operation system name
 out.println("Operating System :"+System.getProperty("os.name"));

DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
Date date = new Date();
out.println(dateFormat.format(date));
%>
</body>
</html>